package com.puboot.module.admin.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.puboot.module.admin.vo.base.BaseVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ltc
 * @version 1.0
 * @date 2020/9/28 11:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class BizCoursePlan extends BaseVo {
    private Integer courseId;
    private String address;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private String startEndTime;
    private String periods;//期数
    private Integer status;
    @TableField(exist = false)
    private String courseName;
    @TableField(exist = false)
    private String remarks;
    @TableField(exist = false)
    private String isChild;

}
